﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="../../css/bootstrap.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="../../Scripts/bootstrap.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var pathName = document.location.pathname;
            $('ul.nav li a').each(function () {
                var current = $(this);
                if (current.attr('href') == pathName) {
                    current.parents().addClass('active');
                    return;
                }
            });
        });        
</script>
</head>
<body>
    <div class="page">
        <header>
             <div class="container">                
                 <div align="center"><img src="../../img/Banner_04.jpg"/> </div>
                <div id="logindisplay" align="right">
                    @Html.Partial("_LogOnPartial")
                </div>
           
                <div class="navbar">
                    <div class="navbar-inner">
                        <ul class="nav">                            
                            <li>@Html.ActionLink("User", "Index", "User")</li>
                            <li>@Html.ActionLink("Diet", "Index", "Diet")</li>
                            <li>@Html.ActionLink("DietDetail", "Index", "DietDetail")</li>
                            <li>@Html.ActionLink("Dish", "Index", "Dish")</li>
                            <li>@Html.ActionLink("Food", "Index", "Food")</li>
                        </ul>
                    </div>
                </div>           
            </div>
        </header>
        <div class="container">
              <section id="main">
            @RenderBody()
             </section>
        </div>
    </div>
</body>
</html>
